<%= form_tag :controller=> 'report',:action => 'customizereport',:type=>'person'%>
<table width="650" border="0" cellspacing="0" cellpadding="0"
	class="medgray">
	<tr>
		<td colspan="5"><%=image_tag "customizreport_2.gif",:alt=>"定制你的分析报告", :align=>"left" %></td>
	</tr>
	<tr height="10">
		<td colspan="5"></td>
	</tr>
	<tr height="30">
		<td></td>
		<td colspan=4><strong>
		<li>请选择样本的性别：</li>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
			name=male type="checkbox" value="1">&nbsp;男&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
			name=female type="checkbox" value="1">&nbsp;女</strong></td>
	</tr>
	<tr height="10">
		<td colspan="5"></td>
	</tr>
	<tr valign="top" height="30">
		<td></td>
		<td colspan=4><strong>
		<li>请选择样本的海外经历：</li>
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input name=overseaSelected1 type="checkbox"
			value="1">土鳖 <input name=overseaSelected2 type="checkbox" value="2">海外留学 <input
			name=overseaSelected3 type="checkbox" value="3">海外工作 <input name=overseaSelected4
			type="checkbox" value="4">海外留学且工作 <input name=overseaSelected5 type="checkbox"
			value="5">外籍人员</strong></td>
	</tr>
	<tr height="10">
		<td colspan="5"></td>
	</tr>
	<tr valign="top" height="30">
		<td></td>
		<td>
		<li><strong>请选择样本的工作验经：</strong></li>
		</td>
		<td width="175" id="age"><%= select 'age', 'range',[["20岁及以下", 1],["21岁-25岁", 2],["26岁-30岁", 3],["31岁-40岁", 4],["41岁-50岁", 5],["50岁以上", 6] ],{},{:size =>"5",:style=>"width:175px;"}%>
		</td>
		<td valign="middle" width="50"><IMG
			onclick=addToWithSubmit(age_range,ageSelected) height=17 alt=""
			src="/images/GRAY_BTN_ADD.gif" width=50><BR>
		<BR>
		<IMG onclick=moveWithSubmit(ageSelected) height=17 alt=""
			src="/images/GRAY_BTN_SUBTRACT.gif" width=50></TD>
		<td align=left><SELECT size=5 name=ageSelected style="width:175px;"></SELECT><INPUT
			type=hidden name=ageSelected1 id=ageSelected1><INPUT type=hidden
			name=ageSelected2 id=ageSelected2><INPUT type=hidden
			name=ageSelected3 id=ageSelected3><INPUT type=hidden
			name=ageSelected4 id=ageSelected4><INPUT type=hidden
			name=ageSelected5 id=ageSelected5><INPUT type=hidden
			name=ageSelected6 id=ageSelected6></td>
	</tr>
	<tr height="10">
		<td colspan="5"></td>
	</tr>
	<tr valign="top" height="30">
		<td></td>
		<td>
		<li><strong>请选择样本的工作经验：</strong></li>
		</td>
		<td width="175" id="exp"><%= select 'exp', 'range',[["1年以下", 1],["1年-2年", 2],["3年-5年", 3],["6年-10年", 4],["11年-20年", 5],["20年以上", 6] ],{},{:size =>"5",:style=>"width:175px;"}%>
		</td>
		<td valign="middle"><IMG
			onclick=addToWithSubmit(exp_range,expSelected) height=17 alt=""
			src="/images/GRAY_BTN_ADD.gif" width=50><BR>
		<BR>
		<IMG onclick=moveWithSubmit(expSelected) height=17 alt=""
			src="/images/GRAY_BTN_SUBTRACT.gif" width=50></TD>
		<td align=left><SELECT size=5 name=expSelected style="width:175px;"></SELECT><INPUT
			type=hidden name=expSelected1 id=expSelected1><INPUT type=hidden
			name=expSelected2 id=expSelected2><INPUT type=hidden
			name=expSelected3 id=expSelected3><INPUT type=hidden
			name=expSelected4 id=expSelected4><INPUT type=hidden
			name=expSelected5 id=expSelected5><INPUT type=hidden
			name=expSelected6 id=expSelected6></td>
	</tr>
	<tr height="10">
		<td colspan="5"></td>
	</tr>
	<tr valign="top" height="30">
		<td></td>
		<td>
		<li><strong>请选择样本的教育背景：</strong></li>
		</td>
		<td width="175" id="education"><%= select 'education', 'id',Education.find(:all).map {|u| [u.cname, u.id] },{},{:size =>"5",:style=>"width:175px;"}%>
		</td>
		<td valign="middle"><IMG
			onclick=addToWithSubmit(education_id,educationSelected) height=17
			alt="" src="/images/GRAY_BTN_ADD.gif" width=50><BR>
		<BR>
		<IMG onclick=moveWithSubmit(educationSelected) height=17 alt=""
			src="/images/GRAY_BTN_SUBTRACT.gif" width=50></TD>
		<td align=left><SELECT size=5 name=educationSelected
			style="width:175px;"></SELECT><INPUT type=hidden
			name=educationSelected1 id=educationSelected1><INPUT type=hidden
			name=educationSelected2 id=educationSelected2><INPUT type=hidden
			name=educationSelected3 id=educationSelected3><INPUT type=hidden
			name=educationSelected4 id=educationSelected4><INPUT type=hidden
			name=educationSelected5 id=educationSelected5><INPUT type=hidden
			name=educationSelected6 id=educationSelected6></td>
	</tr>
	<tr height="10">
		<td colspan="5"></td>
	</tr>
	<tr valign="middle" height="30">
		<td colspan="5" align="right"><%= submit_tag "下一步",:class=>"btn_mouseout",
													:onmouseover=>"this.className='btn_mouseover'",
 													:onmouseout=>"this.className='btn_mouseout'",
 													:onmousedown=>"this.className='btn_mousedown'",
  													:onmouseup=>"this.className='btn_mouseup'"%> &nbsp;(&nbsp;<%= link_to "上一步", :controller=>"report", :action=>"startreport"%>&nbsp;)</td>
	</tr>
</table>
<%= end_form_tag %>
